POV-Ray : Newsgroups : povray.unofficial.patches : isosurface bug? : isosurface bug? Server Time
2 Sep 2024 04:17:35 EDT (-0400)
  isosurface bug?  
From: hall
Date: 14 May 2000 20:42:10
Message: <391f47e2@news.povray.org>
I tried the following two scenes in MegaPOV, and expected to get a unit
sphere in both of them, needless to say this did not happpen.  The first
rendered the expected sphere, the second didn't.  Is this a bug or am I just
not seeing a stupid mistake?  Any help would be appreciated--Quadhall.

*****************
scene 1
#version unofficial MegaPOV 0.4;
light_source { <0,0,-8> 1}
camera { location <0,0,-5> look_at <0,0,0> }
isosurface
{
 function {sqrt(sqr(x)+sqr(y)+sqr(z))}
 contained_by{sphere {0,4}}
 threshold 1
 pigment{color rgb <1,1,1>}
}
***********************
scene 2
version unofficial MegaPOV 0.4;
light_source { <0,0,-8> 1}
camera { location <0,0,-5> look_at <0,0,0> }
isosurface
{
 function {(sqr(x)+sqr(y)+sqr(z))}
 contained_by{sphere {0,4}}
 threshold 1
 pigment{color rgb <1,1,1>}
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.